export default [{
    // /admin/dashoard
    path: 'dashoard',
    component: () => import('@/views/dashoard')
  },
  {
    // /admin/user
    path: 'user',
    component: () => import('@/views/user')
  },
  {
    // /admin/role
    path: 'role',
    name: 'role', 
    component: () => import('@/views/role'),
    meta: {
      crumbItems: ['用户管理', '角色列表']
    }
  },
  {
    path: 'auth',
    component: () => import('@/views/auth'),
    meta: {
      crumbItems: ['用户管理', '权限列表']
    }
  },
  {
    path: 'comingsoon',
    component: () => import('@/views/comingsoon')
  },
  {
    path: 'order',
    component: () => import('@/views/order')
  },
  {
    path: 'nowplaying',
    component: () => import('@/views/nowplaying'),
    meta: {
      crumbItems: ['电影管理', '热映列表']
    }
  },
  {
    path: 'addnowplaying',
    component: () => import('@/views/nowplaying/add'),
    meta: {
      crumbItems: ['电影管理', '添加热映']
    }
  }
]